﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true"
    CodeFile="TraSelectSuperviseNextArea.aspx.cs" Inherits="Bidder_TraSelectSuperviseNextArea"
    Title="Untitled Page"  aspCompat="True" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="vbscript" type="text/vbscript">
            Sub AreaSelect(byval id)
                Dim strReturnValue
	            strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	            If Len(strReturnValue) > 0 Then
	                document.all("txtAreaId").value = Split(strReturnValue,vbCrLf)(0)
	                document.all("txtAreaName").value = Split(strReturnValue,vbCrLf)(1)
	            End If
            End Sub
    </script>

    <script language="javascript" type="text/javascript">
    
        function Sel(ii,supplygoodsid)
        {
            if(ii==1)
            {
              window.open('../manage/GoodsAdd_CompanySearch_dl.aspx?supplygoodsid=<%=Request.QueryString["SupplyGoodsId"]%>');
            }
            else
            {
                window.open('TraSelectArea.aspx');
            }
        }
        function confirmvalue_dl(obj)
        { 
            document.all("txtAccountId_PS").value = obj.companyid;
            document.all("txtCompanyName_PS").value = obj.companyName;        
        }
        function areavalue_dl(obj)
        { 
      
            document.all("areaId").value = obj.areaid;
            document.all("areaName").value = obj.areaname;        
        }
    </script>

    <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
        <tr>
            <td style="width: 4px">
                <img height="34" src="../images/intro_left.gif" width="4" /></td>
            <td class="intro_wordbg">
                维护分配送企业</td>
            <td background="../images/intro_bg.gif">
                <img height="34" src="../images/intro_right.jpg" width="118" /></td>
        </tr>
    </table>
    <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
        class="table_table2">
        <tr>
            <td class="table_td3">
                药品流水号：</td>
            <td class="table_td2">
                <asp:TextBox runat="server" ID="goodsid" NotNull="中介名称" InvertedComma="中介名称" ReadOnly="True"></asp:TextBox><span
                    style="color: #ff6666"></span></td>
            <td class="table_td3" style="width: 123px">
                通用名：</td>
            <td class="table_td2" style="width: 177px">
                <asp:TextBox ID="productname" runat="server" NotNull="通用名" InvertedComma="通用名" ReadOnly="True"></asp:TextBox><span
                    style="color: #ff6666"></span></td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 28px">
                商品名：</td>
            <td class="table_td2" style="height: 28px">
                <asp:TextBox runat="server" ID="goodsname" InvertedComma="地址" ReadOnly="True"></asp:TextBox><span
                    style="color: #ff6666"></span></td>
            <td class="table_td3" style="height: 28px; width: 123px;">
                剂型：</td>
            <td class="table_td2" style="height: 28px; width: 177px;">
                <asp:TextBox runat="server" ID="Medicinemodel" InvertedComma="邮政编码" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3">
                规格：</td>
            <td class="table_td2">
                <asp:TextBox runat="server" ID="outlookc" InvertedComma="联系电话" ReadOnly="True"></asp:TextBox></td>
            <td class="table_td3" style="width: 123px">
                转换系数：</td>
            <td class="table_td2" style="width: 177px">
                <asp:TextBox runat="server" ID="Factor" InvertedComma="传真" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 28px">
                包装规格：</td>
            <td class="table_td2" style="height: 28px">
                <asp:TextBox runat="server" ID="Pack1" InvertedComma="Email" ReadOnly="True"></asp:TextBox></td>
            <td class="table_td3" style="width: 123px; height: 28px;">
                质量层次：</td>
            <td class="table_td2" style="height: 28px; width: 177px;">
                <asp:TextBox runat="server" ID="QualityLevels" InvertedComma="网址" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 28px">
                中标价：</td>
            <td class="table_td2" style="height: 28px">
                <asp:TextBox runat="server" ID="BidPrice" InvertedComma="法人代表姓名" ReadOnly="True"></asp:TextBox></td>
            <td class="table_td3" style="height: 28px; width: 123px;">
                投标人：</td>
            <td class="table_td2" style="height: 28px; width: 177px;">
                <asp:TextBox runat="server" ID="CompanyName_TB" InvertedComma="国际招标资质" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3">
                生产企业：</td>
            <td class="table_td2">
                <asp:TextBox runat="server" ID="CompanyName_SC" NumericOnly="注册资金" DYL="注册资金" ReadOnly="True"></asp:TextBox></td>
            <td class="table_td3" style="width: 123px">
                主要配送企业：</td>
            <td class="table_td2" style="width: 177px">
                <asp:TextBox runat="server" ID="CompanyName_ps" NumericOnly="雇员人数" DYL="雇员人数" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3">
                采购目录状态：</td>
            <td class="table_td2">
                <asp:TextBox runat="server" ID="GoodsState" NumericOnly="雇员人数" DYL="雇员人数" ReadOnly="True"></asp:TextBox>
            </td>
            <td class="table_td3" style="width: 123px">
                <asp:Button ID="Button2" CssClass="button_bg" runat="server" Text="查 询" /></td>
            <td class="table_td2" style="width: 177px">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="table_td2" style="height: 26px">
                选择地区：</td>
            <td class="table_td2" style="height: 26px">
                <asp:DropDownList ID="lstAreaName" runat="server" Width="155px">
                </asp:DropDownList><span style="color: #ff6666">(*)</span> <span style="color: #000000;
                        background-color: #ffffff"></span>
                </td>
            <td class="table_td2" style="width: 123px; height: 26px">
            </td>
            <td class="table_td2" style="height: 26px; width: 177px;">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="table_td2" style="height: 26px">
                选择配送企业：</td>
            <td class="table_td2" style="height: 26px">
                <input name='txtCompanyName_PS' value='' readonly="readonly" />
                <span style="color: #ff6666">(*)<input id="Button1" type="button" value="选择配送企业"
                    class="button_bg6" onclick='Sel(1)' style="width: 90px" /></span>
                <input name='txtAccountId_PS' type='hidden' value='' />
            </td>
            <td class="table_td2" style="width: 123px; height: 26px">
                
                <input id="Submit2" class="button_bg" name="subSave" type="submit" value="保  存"   onclick ="javascript:return confirm('确定保存吗?');" style="width: 60px"/></td>
            <td class="table_td2" style="height: 26px; width: 177px;">
                <input id="Submit1" class="button_bg" name="subDel" type="submit" value="删除"   onclick ="javascript:return confirm('确定删除吗?');" style="width: 60px"/><div  style="color:Red">(已参与交易的企业将不能删除)</div></td>
        </tr>
    </table>
    &nbsp;  <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
    &nbsp;<br />
    &nbsp;<asp:Label ID="Label1" runat="server" Width="98%"></asp:Label>
</asp:Content>
